<div class="col-12 pr-0  mt-1">
  <div class="card animated animated-delay-500 ">
    <div class="card-header font-weight-bold p-2">
      <span class="fa fa-fw fa fa-cog"></span>会员注册方式
    </div>
    <div class="card-body px-0 py-2 px-2">
        <div class="form-group row">
          <label  class="col-6 col-form-label text-right">会员注册方式:</label>
          <div class="col-6">
            <div>
              <div class="custom-control custom-radio custom-control-inline" (click)="updateConfig(1, 0, 1, null)">
                <input type="radio" id="regist1" name="regist"
                       class="custom-control-input" [value]="isStartRegist" [checked]="isStartRegist === 0">
                <label class="custom-control-label" for="regist1">手机注册</label>
              </div>
              <div class="custom-control custom-radio custom-control-inline" (click)="updateConfig(1, 1, 1, null)">
                <input type="radio" id="regist2" name="regist"
                       class="custom-control-input" [value]="!isStartRegist" [checked]="isStartRegist === 1">
                <label class="custom-control-label" for="regist2">会员注册</label>
              </div>
            </div>
          </div>
        </div>

        <div class="form-group row">
          <label  class="col-6 col-form-label text-right">是否启用邀请码:</label>
          <div class="col-6">
            <div>
              <div class="custom-control custom-radio custom-control-inline" (click)="updateConfig(2, 1, 1, null)">
                <input type="radio" id="invot1" name="invot"
                       class="custom-control-input" [value]="isStartInvot" [checked]="isStartInvot === 1">
                <label class="custom-control-label" for="invot1">是</label>
              </div>
              <div class="custom-control custom-radio custom-control-inline" (click)="updateConfig(2, 0, 1, null)">
                <input type="radio" id="invot2" name="invot"
                       class="custom-control-input" [value]="!isStartInvot" [checked]="isStartInvot === 0">
                <label class="custom-control-label" for="invot2">否</label>
              </div>
            </div>
          </div>
        </div>

        <div class="form-group row">
          <label  class="col-6 col-form-label text-right">提现金额限制:</label>
          <div class="col-6">
            <div>
              <div class="custom-control-inline">
                <div class="ml-0">
                  <input type="text" #moneyOut class="ml-0 col-6 form-control-sm" [value]="configValue"  id="username">
                </div>
                <button class="btn btn-sm ml-2" (click)="updateConfig(4, 1, 1, moneyOut.value)">修改</button>
              </div>
            </div>
          </div>
        </div>

      <div class="form-group row">
        <label  class="col-6 col-form-label text-right">更新地址:</label>
        <div class="col-6">
          <div>
            <div class="custom-control-inline">
              <input type="text" #urlOut class="ml-0 form-control-sm" [value]="configUrl" >
              <button class="btn btn-sm ml-2" (click)="updateUrl(urlOut.value)">修改</button>
            </div>
          </div>
        </div>
      </div>

      <div class="form-group row">
        <label  class="col-6 col-form-label text-right">抽水比例:</label>
        <div class="col-6">
          <div>
            <div class="custom-control-inline">
              <input type="text" #urlResume class="ml-0 form-control-sm" [value]="configResume" >
              <button class="btn btn-sm ml-2" (click)="updateConfig(5, 1, 1, urlResume.value)">修改</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<ng-tools-modal #modal></ng-tools-modal>
